package com.onesports.intelligent.k12.polarlight.domain.dto.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * 轮播图
 *
 * @author wangcx
 * @since 1.0.0 2022-07-08
 */
@Data
@ApiModel(value = "轮播图DTO")
public class InsertBannerDTO {

    @NotBlank(message = "请输入名称")
    @ApiModelProperty(value = "轮播图名称",required = true)
    private String bannerName;

    @ApiModelProperty(value = "类型：1：轮播图 2客服图")
    private String bannerType;

    @NotBlank(message = "请上传图片")
    @ApiModelProperty(value = "图片地址",required = true)
    private String imageUrl;

    @NotNull(message = "请输入排序")
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "小程序appid")
    private String appid;

    @ApiModelProperty(value = "跳转链接")
    private String linkUrl;

    @ApiModelProperty(value = "跳转类型: 1小程序 2 网页 3 其它")
    private String linkType;

    @ApiModelProperty(value = "状态：true 启用  false 停用")
    private Boolean status;

    @ApiModelProperty(value = "机构id")
    private String organizationId;


}
